package main

import (
	"fmt"
	"go_code/interface/simple_media_player/mlib"
)

var lib *mlib.MusicManager
var id int = 1
var ctrl, signal chan int

func main() {
	lib = mlib.NewManager()
	lib.Add(&mlib.MusicEntry{
		Name: "Lisi",
	})
	lib.Add(&mlib.MusicEntry{
		Name: "222",
	})
	lib.Add(&mlib.MusicEntry{
		Name: "Li3333si",
	})
	lib.Remove(1)
	fmt.Println(lib)
	find := lib.Find("33")
	fmt.Println(find)
}
